package com.weimob.mcloud.wechatwork.customer.constant;

/**
 * @author chenyang.liu
 * @date 2022/1/11 11:09
 * @description
 */
public class ExportConstants {

    /**
     * 最大一百万数据
     */
    public static final Long MAX_NUM = 1000000L;

    /**
     * key最大过期时间为30s，也就是30s内同一bosId+wid只能生成一个导出任务
     */
    public static final Long MAX_EXPIRE_TIME = 30L;

    /**
     * 返回成功
     */
    public static final String SUCCESS = "000000";

    /**
     * 企微客户导出请求时间间隔30s
     */
    public static final String USER_EXPORT_SAVE_PRE = "wecom:userexp:task:";

    /**
     * 客户流失导出请求时间间隔30s
     */
    public static final String CUSTOMER_LOSE_EXPORT = "wecom:customer:lose:task:";
}
